package com.ensah.web.decorators;


import org.displaytag.decorator.TableDecorator;

import com.ensah.metier.bo.Etudiant;


public class EtdPagesDecorator extends TableDecorator {

	
	public String getModifyLink() {

		String modifyLink = "";

		Etudiant e = (Etudiant) getCurrentRowObject();

		modifyLink = "<a href=\"modEtd?cne=" + e.getCne()
				+ "\">modifier </a>   ";

		return modifyLink;

	}
	
	public String getAfficherLink() {

		String afficherLink = "";

		Etudiant e = (Etudiant) getCurrentRowObject();

		afficherLink = "<a href=\"rechercherCne?cne=" + e.getCne()
				+ "\">afficher </a>   ";

		return afficherLink;

	}

	public String getDeleteLink() {
		String deleteLink = "";
		Etudiant e = (Etudiant) getCurrentRowObject();
        
		deleteLink = "<a href=\"supprimer?cne=" + e.getCne()
				+ "\">supprimer </a>   ";
		return deleteLink;
	}

}

